﻿using Zavand.Web.Mvc.Manana.Framework;

namespace Zavand.Web.Mvc.Manana.SampleWebsite.Common.ExternalRoutes
{
    public class CustomExternalRoute:BaseRoute
    {
        public CustomExternalRoute()
        {
            SetDomain("zavand.com");
            SetProtocol(UrlProtocol.Https);
        }
        public override string GetUrl()
        {
            return "my/path/here";
        }
        public override void FollowContext(BaseRoute r)
        {
            Locale = null;
        }
        public override string GetName()
        {
            return "https://google.com";
        }
    }
}